﻿using System;
using System.Collections.Generic;
using System.Text;
using ZhongJia.Core;
using ZhongJia.Core.Domain;
using ZhongJia.Core.Utility;

namespace GuanQL.Core.Domain
{
    public class BaseEntity : IBaseEntity
    {
        public BaseEntity()
        {
            Id = SequentialGuidGenerator.Instance.Create();
            Created = SystemClock.Now;
        }

        public Guid Id { get; set; }

        public Guid TenantId { get; set; }

        public DateTime Created { get; set; }


    }
}
